<?class Application_Model_Users extends Zend_Db_Table_Abstract {    protected $_name = "users";    protected $_rowClass = "User";    public function fetchByEmail($email) {        return $this->fetchRow($this->select()->where('email = ?', $email));    }        /*     * Return the ary of the user who are of type resellers    */    public function getResellers() {        $resellers = $this->fetchAll("type = 'reseller' and user_enabled = '1'");        if ($resellers) {            foreach ($resellers as $_reseller) {                $resellerArray[$_reseller['id']] = $_reseller['email'];            }            return $resellerArray;        } else {            return array();        }    }}class User extends Zend_Db_Table_Row {    }